

import Layout from '@/layout'

const userRouter = {
  path: '/user',
  component: Layout,
  redirect: '/user/index',
  name: 'User',
  meta: {
    title: '用户',
    icon: 'clipboard'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/user/list/index'),
      name: 'UserIndex',
      meta: { title: '用户管理', icon: '' }
    },
    {
      path: 'label',
      component: () => import('@/views/user/group/index'),
      name: 'Label',
      meta: { title: '用户标签', icon: '' }
    },
    {
      path: 'group',
      component: () => import('@/views/user/group/index'),
      name: 'Group',
      meta: { title: '用户分组', icon: '' }
    }
    ,
    {
      path: 'management',
      component: () => import('@/views/user/management/index'),
      name: 'Management',
      meta: { title: '用户列表', icon: '' }
    }
    ,
    {
      path: 'agreement',
      component: () => import('@/views/user/agreement/index'),
      name: 'Agreement',
      meta: { title: '协议列表', icon: '' }
    }
    ,
    {
      path: 'volunteer',
      component: () => import('@/views/user/volunteer/index'),
      name: 'Volunteer',
      meta: { title: '志愿者审核', icon: '' }
    },
    {
      path: 'dept',
      component: () => import('@/views/systemSetting/dept/index'),
      name: 'Dept',
      meta: { title: '部门管理', icon: '' }
    },
    {
      path: 'team',
      component: () => import('@/views/user/team/index'),
      name: 'Team',
      meta: { title: '志愿者队伍', icon: '' }
    },
    {
      path: 'nameToInfo',
      component: () => import('@/views/user/nameToInfo/index'),
      name: 'NameToInfo',
      meta: { title: '党建引领', icon: '' }
    },
    {
      path: 'large',
      component: () => import('@/views/user/large/index'),
      name: 'Large',
      meta: { title: '大屏应用', icon: '' }
    }
  ]
}
export default userRouter
